package com.huidian.gitbatchprocessing.action;

import com.huidian.gitbatchprocessing.ui.GitBatchProcessingDialog;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.project.Project;

/**
 * 点击插件响应时间
 *
 * @author zxb
 */
public class GitBatchProcessingAction extends AnAction {
    @Override
    public void actionPerformed(AnActionEvent e) {
        final Project project = e.getRequiredData(CommonDataKeys.PROJECT);
        GitBatchProcessingDialog gitBatchProcessingDialog = new GitBatchProcessingDialog(project);
        gitBatchProcessingDialog.setVisible(true);
    }
}
